package com.example.autumn.service;

import com.example.common.response.R;
import com.example.autumn.entity.User;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Liao run
 * @since 2022-08-31
 */
public interface IUserService extends IService<User> {

    R getUserById(Long id);

    R register(User user);
}
